package com.ququ.syb.business.transfer.fegin;

import com.ququ.common.result.Result;
import com.ququ.syb.common.pojo.AccountInfo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "account")
public interface AccountFegin {

    @RequestMapping(value = "/query")
    Result<AccountInfo> getAccountInfo(@RequestParam(value = "accountid") String accountid);
}
